#!/usr/bin/env node


const http = require('http');
const fs = require('fs');

http.createServer((req, res) => {
    req.pipe(fs.createWriteStream('./server-file/book.png'));
    res.end('ok');
}).listen(8080);
